package com.hkts.naturalgas.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.base.entity.RoastingDust;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.model.ResultData;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-05-31
 */
public interface IRoastingDustService extends IService<RoastingDust> {

    /**
     * 分页查询
     *
     * @param page
     * @param roastingDust
     * @return
     */
    IPage<RoastingDust> selectPage(Page<RoastingDust> page, RoastingDust roastingDust);

    List<RoastingDust> selectList(RoastingDust roastingDust);

    IPage<RoastingDust> selectPageByTime(Page<RoastingDust> page, String startDate, String endDate);

    IPage<RoastingDust> getBrokenLineGraph(Page<RoastingDust> page, String startDate, String endDate);

    void deleteAll(List<String> collect);

    void dataNeatHndler();

    void dataBugHndler();
}